﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML
        xmlns:th="http://www.thymeleaf.org"
        xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
    <META content="IE=11.0000"
          http-equiv="X-UA-Compatible">

    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <TITLE>参与投票</TITLE>
    <LINK href="css/style.css" rel="stylesheet" type="text/css">
    <META name="GENERATOR" content="MSHTML 11.00.10586.420">
</HEAD>
<BODY>
<DIV class="wrap" id="header"><IMG src="images/logo.gif"></DIV>
<DIV class="wrap" id="navbar">
    <DIV class="profile"> <span th:text="${session.uname}">阿凡达</span>
        <SPAN class="return"><A th:href="@{slist}">返回列表</A></SPAN>
        <SPAN class="return"><A th:href="@{esc}">注销</A></SPAN>
    </DIV>
</DIV>
<DIV class="wrap" id="vote">
    <H2>参与投票</H2>
    <UL class="list">
        <LI>
            <H4 th:text="${subject.title}"></H4>
            <P class="info" th:text="'公有'+${subject.js}+'个选项，已有'+${subject.sum}+'个投票'"></P>
            <FORM action="vote" method="post">
                <INPUT name="sid" th:type="hidden" th:value="${subject.sid}">
                <OL>
                    <li th:each="o,sta:${olist}">
                        <input th:text="${o.option}" type="radio" name="oid" th:value="${o.oid}"/>
                    </li>
                </OL>
                <P class="voteView">
                    <INPUT type="image" src="images/button_vote.gif"/>
                    <A th:href="@{toVoteview(sid=${subject.sid})}">
                        <IMG src="images/button_view.gif"/>
                    </A>
                </P>
            </FORM>
        </LI>
    </UL>
</DIV>
<DIV class="wrap" id="footer"> 北大青鸟 © 版权所有</DIV>
</BODY>
</HTML>
